package com.crx.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crx.springbootinit.model.dto.comment.CommentLoveDto;
import com.crx.springbootinit.model.dto.comment.CommentsLovePageDTO;
import com.crx.springbootinit.model.dto.page.PageVO;
import com.crx.springbootinit.model.entity.CommentLove;
import com.crx.springbootinit.model.vo.comment.CommentLovePageVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-21
 */
public interface ICommentLoveService extends IService<CommentLove> {

    void giveCommentLove(CommentLoveDto commentLoveDto);

    Boolean isCommentLove(Long userId, Long commentId);

    PageVO<CommentLovePageVO> queryCommentLovePage(CommentsLovePageDTO commentsLovePageDTO);
}
